<%--
  Created by IntelliJ IDEA.
  User: 82305
  Date: 2021/4/4
  Time: 23:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>登录</title>
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <style>
    form{
      width: 300px;
      height: 300px;
      margin: 100px auto;

    }

  </style>
</head>
<body style="padding: 30px;">
<form action="LoginServlet" method="post">
  用户名：<input type="text" name="username" class="form-control" >
  <br>
  密&nbsp;&nbsp;&nbsp;码：<input type="password" class="form-control"name="password">
  <br>
  <button type="submit" class="btn btn-success btn-lg" >登录</button>
  <span style="color:red"><%= request.getAttribute("error")==null?"":request.getAttribute("error")%></span>
</form>


<script src="js/bootstrap.min.js"></script>
<script src="js/jquery-3.3.1.min.js"></script>
</body>
</html>
